Dart <<
Previous Next >> overview
object orientend programming(OOP)
Dart is an object oriented programming language.Object Orientation is a software development paradigm that follows real world modeling and it also considers a prigram as an collection of objects that commumicate with each other via mechanism called methods.
In OOP we can distinguish in three topic:
Object - An object is a real-time representation of any tiny. As per Grady Brooch, every object must have three features-
- State - Desbribed by the attributes of an object.
- Behavior - Describes how the object will act.
- Identity - A unique value the distinguishes an object from a set of similar such objects.
Class - A class in terms of OOP is a blueprint for creating objects. A class encapsulates data for the object.
Method - Methods facilitate communication between objects.
Dart <<
Previous Next >> overview